﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace GameLib1
{
    class Projectile : GameObject
    {
        public enum TYPE
        {
            BULLET_A,
            BULLET_B,
            LASER
        }

        public TYPE mType;

        public Projectile(Vector2 pos, Vector2 dir, TYPE type) : base( pos, (type == TYPE.BULLET_A? "PH" : (type == TYPE.BULLET_B ? "PH" : "PH")) )
        {
            mVel = dir;
            mType = type;
        }

        public void Update(float dt)
        {
            switch (mType)
            {
                /* HANDLE COLLISIONS WITH ENEMY TEAMS HERE */
                default:
                    break;
            }
            base.Update(dt);
        }
    }
}
